﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<script type="text/javascript" src="./js/jquery-2.1.1.min.js"></script>
<script type="text/javascript">
function pause(millis) 
{
setTimeout(";", millis);
}
 
function getData (element,el_id){

  var ad = el_id.split('_');
  $(element).load('http://tolstak.myjino.ru/common.php',
  { model: ad[2],
    shop: ad[0],
	region: ad[1]
  },)
}
</script>
<title>Тест JSON-запросов</title>
</head>

<body onLoad="

    $('.editable').each(function(i, el) {
        getData($(el),$(el).attr('id'));
    });

   


">

<table border="1" cellpadding="15px" cellspacing="0" >
		<tr>
			<td>Manage</td>
			<td>Cluster</td>
			<td>Shop name</td>
			<td>HL-1110R</td>
			<td>DCP-1510R</td>
			<td>DCP-7055WR</td>
			<td>DCP-7055R</td>
		</tr>
		<tr>
			<td rowspan="20">Irina</td>
			<td rowspan="14">MOS</td>
			<td>Moskau City</td>
			<td class="editable" id="mms_R239_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R239_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R239_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R239_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau Universitaet</td>
			<td class="editable" id="mms_R246_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R246_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R246_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R246_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 3 (Sevastopolskiy)</td>
			<td class="editable" id="mms_R501_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R501_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R501_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R501_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 4 (Kashirskoe)</td>
			<td class="editable" id="mms_R248_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R248_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R248_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R248_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 5 (Belaya Dacha)</td>
			<td class="editable" id="mms_R206_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R206_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R206_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R206_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 6 Europark</td>
			<td class="editable" id="mms_R208_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R208_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R208_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R208_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 7 (Rostokino)</td>
			<td class="editable" id="mms_R209_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R209_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R209_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R209_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 8</td>
			<td class="editable" id="mms_R216_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R216_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R216_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R216_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 9 (Butovo)</td>
			<td class="editable" id="mms_R218_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R218_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R218_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R218_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 11 (Mitishchi)</td>
			<td class="editable" id="mms_R226_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R226_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R226_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R226_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 12 (Marcos Mall)</td>
			<td class="editable" id="mms_R229_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R229_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R229_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R229_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 13</td>
			<td class="editable" id="mms_R201_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R201_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R201_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R201_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Moskau 14</td>
			<td class="editable" id="mms_R202_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R202_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R202_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R202_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Ryazan1</td>
			<td class="editable" id="mms_R237_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R237_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R237_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R237_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td rowspan="6">SOUTH</td>
			<td>Belgorod 1</td>
			<td class="editable" id="mms_R243_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R243_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R243_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R243_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Krasnodar</td>
			<td class="editable" id="mms_R217_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R217_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R217_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R217_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Lipetsk</td>
			<td class="editable" id="mms_R228_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R228_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R228_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R228_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Media Bryansk 1</td>
			<td class="editable" id="mms_R252_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R252_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R252_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R252_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Rostov</td>
			<td class="editable" id="mms_R205_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R205_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R205_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R205_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Rostov 2</td>
			<td class="editable" id="mms_R215_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R215_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R215_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R215_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td rowspan="33">Konstantin</td>
			<td rowspan="8">KAZAN</td>
			<td>Cheboksary</td>
			<td class="editable" id="mms_R236_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R236_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R236_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R236_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Ivanovo 1</td>
			<td class="editable" id="mms_R249_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R249_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R249_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R249_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Kazan</td>
			<td class="editable" id="mms_R221_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R221_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R221_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R221_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Kazan 2 (Detski Mir)</td>
			<td class="editable" id="mms_R225_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R225_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R225_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R225_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Kazan 3</td>
			<td class="editable" id="mms_R231_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R231_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R231_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R231_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Naberezhnye Chelny&nbsp;</td>
			<td class="editable" id="mms_R233_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R233_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R233_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R233_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Nizhny Novgorod</td>
			<td class="editable" id="mms_R247_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R247_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R247_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R247_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Nizhny Novgorod 2</td>
			<td class="editable" id="mms_R256_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R256_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R256_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R256_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td rowspan="8">S.Pet</td>
			<td>St. Petersburg 1 (IKEA)</td>
			<td class="editable" id="mms_R204_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R204_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R204_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R204_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>St. Petersburg 2 (Vinci\Raduga)</td>
			<td class="editable" id="mms_R203_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R203_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R203_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R203_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>St. Petersburg 3 (Zhukova)</td>
			<td class="editable" id="mms_R207_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R207_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R207_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R207_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>St. Petersburg 4 (Pulkovo)</td>
			<td class="editable" id="mms_R219_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R219_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R219_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R219_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>St. Petersburg 5 (Kolomyazhskiy)</td>
			<td class="editable" id="mms_R211_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R211_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R211_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R211_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>St. Petersburg 6 (Kollontay)</td>
			<td class="editable" id="mms_R251_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R251_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R251_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R251_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>St. Petersburg 7 (Savushkina)</td>
			<td class="editable" id="mms_R254_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R254_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R254_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R254_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>St. Petersburg 8 (Parnas)</td>
			<td class="editable" id="mms_R255_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R255_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R255_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R255_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td rowspan="2">SIBIR</td>
			<td>Novosibirsk 1</td>
			<td class="editable" id="mms_R235_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R235_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R235_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R235_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Omsk</td>
			<td class="editable" id="mms_R224_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R224_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R224_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R224_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td rowspan="6">Ural</td>
			<td>Ekaterinburg</td>
			<td class="editable" id="mms_R240_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R240_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R240_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R240_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Ekaterinburg 2</td>
			<td class="editable" id="mms_R503_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R503_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R503_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R503_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Ekaterinburg 3</td>
			<td class="editable" id="mms_R504_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R504_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R504_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R504_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Chelyabinsk 1</td>
			<td class="editable" id="mms_R227_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R227_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R227_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R227_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Chelyabinsk 2</td>
			<td class="editable" id="mms_R242_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R242_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R242_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R242_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Chelyabinsk 3</td>
			<td class="editable" id="mms_R245_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R245_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R245_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R245_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td rowspan="9" >VOLGA</td>
			<td>Orenburg</td>
			<td class="editable" id="mms_R234_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R234_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R234_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R234_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Samara</td>
			<td class="editable" id="mms_R210_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R210_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R210_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R210_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Samara 2</td>
			<td class="editable" id="mms_R220_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R220_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R220_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R220_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Saratov 1</td>
			<td class="editable" id="mms_R232_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R232_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R232_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R232_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Tolyatti</td>
			<td class="editable" id="mms_R222_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R222_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R222_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R222_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Media UFA</td>
			<td class="editable" id="mms_R250_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R250_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R250_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R250_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Ulyanovsk1</td>
			<td class="editable" id="mms_R238_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R238_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R238_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R238_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Volgograd 1</td>
			<td class="editable" id="mms_R244_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R244_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R244_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R244_DCP-7055R">&nbsp;</td>
		</tr>
		<tr>
			<td>Volgograd 2</td>
			<td class="editable" id="mms_R259_HL-1110">&nbsp;</td>
			<td class="editable" id="mms_R259_DCP-1510">&nbsp;</td>
			<td class="editable" id="mms_R259_DCP-7055WR">&nbsp;</td>
			<td class="editable" id="mms_R259_DCP-7055R">&nbsp;</td>
		</tr>

</table>

</body>
</html>

/*	 */